-
Home
-
MB Custom Post Types & Custom Taxonomies
-
2.10.0 (latest)
-
Code
-
Classes
- PostTypeOrder
| Total Complexity |
51 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
328 |
| Lines of code |
236 |
| Logical lines of code |
113 |
| Comment lines |
44 |
| Methods |
14 |
| Properties |
0 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| enqueue_scripts() |
A |
40 |
8 |
58 |
| get_hierarchical_posts() |
S |
46 |
5 |
38 |
| save_order() |
S |
53 |
6 |
22 |
| set_orderby_menu_order() |
S |
61 |
6 |
13 |
| set_initial_orders() |
S |
53 |
3 |
26 |
| add_toggle_sortable_button() |
S |
56 |
3 |
19 |
| setup_for_edit_screen() |
S |
66 |
3 |
8 |
| get_children() |
S |
64 |
3 |
10 |
| order_previous_post_where() |
S |
67 |
3 |
7 |
| order_previous_post_sort() |
S |
68 |
3 |
7 |
| order_next_post_where() |
S |
67 |
3 |
7 |
| order_next_post_sort() |
S |
68 |
3 |
7 |
| __construct() |
S |
63 |
1 |
10 |
| is_enabled_ordering() |
S |
75 |
1 |
4 |